home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / src / libgplus.5 / libgplus / etc / lf / lf.cc < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-17  |  544 b   |  24 lines

  1. /* Driver program for directory listing facility. */
  2. /* Type the -h option for program usage information. */
  3. #include "option.h"
  4. #include "screen.h"
  5. #include "directory.h"
  6.  
  7. /* Manages program options, globally visible to other modules. */
  8. Option_Handler option;
  9.  
  10. /* Initializes the screen object. */
  11. Screen_Handler screen;
  12.  
  13. /* Set the program options and turn over the dirty work
  14.    to the main directory handling module. */
  15.  
  16. int
  17. main (int argc, char *argv[])
  18. {
  19.   option (argc, argv);
  20.   Directory_Handler files;
  21.   files.print ();
  22.   return 0;
  23. }
  24.